body{
    margin: 0;
}
.box{
    width: 650px;
    height: 700px;
    border: 1px solid;
    /* 0px = 0em = 0vh = 0 */
    margin: 100px auto;
    box-shadow: 13px 10px 11px 6px #ccc;
    position: relative;
}

.box .title{
    width: 100%;
    height: 50px;
    /*background-color: #ccc;*/
    background: linear-gradient(106deg, #30E8BF 0%,#FF8235 100%);

}
.box .title > h1 {
    text-align: center;
    margin: 0;
}

.box .message{
    width: 100%;
    height: 50px;
    border-top: 1px solid;
    position: absolute;
    bottom: 0;
}

#msg{
    width: 580px;
    height: 100%;
    resize: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    /* 上 右 下 左*/
    padding: 0 0 0 2px;
}
#send{
    height: 100%;
    width: 60px;
    vertical-align: top;
}

.message-list{
    height: 590px;
    overflow: auto;
    background-image: url("/images/bg.jpeg");
    background-size: 100% 100%;
}

.message-list .question{
    text-align: right;
}

.message-list .text{
    display: inline-block;
    background-color: #209a22;
    padding: 8px 10px;
    border-radius: 8px;
    margin: 10px 10px 10px 0;
    color: white;
    text-align: left;
}

.answer .text{
    background-color: #fff;
    color: #000;
}

.message-list img{
    height: 38px;
    border-radius: 5px;
    vertical-align: top;
    margin-right: 6px;
    margin-top: 10px;
}

/* 滚动条样式   */
.message-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.message-list::-webkit-scrollbar-track {
    background-color: #fff;
}
.message-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}
.message-list::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}